package com.yunchang.springboot.models.mwsfinance;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.yunchang.springboot.base.Column;
import com.yunchang.springboot.base.Id;
import com.yunchang.springboot.base.Table;
import java.io.Serializable;
import lombok.Data;

/**
 * f_goods_in_transit
 * @author Administrator
 * @date 2020-06-01 15:54:51
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
@Table("f_goods_in_transit")
public class FGoodsInTransit implements Serializable {
    /**
     */
    @Id("id")
    private Long id;

    /**
     * 单据号，TKRKD
     */
    @Column("documents_id")
    private String documentsId;

    /**
     * 日期
     */
    @Column("posted_date")
    private String postedDate;

    /**
     * 店铺
     */
    @Column("seller_id")
    private String sellerId;

    /**
     * 国家
     */
    @Column("country")
    private String country;

    /**
     * 订单号
     */
    @Column("order_id")
    private String orderId;

    /**
     * 平台订单号
     */
    @Column("merchant_order_id")
    private String merchantOrderId;

    /**
     * sku
     */
    @Column("sku")
    private String sku;

    /**
     * 数量
     */
    @Column("quantity")
    private Integer quantity;

    /**
     * 单位成本
     */
    @Column("cost_unit")
    private Double costUnit;

    /**
     * 金额
     */
    @Column("amount")
    private Double amount;

    /**
     * 币别
     */
    @Column("currency")
    private String currency;

    /**
     * 借方科目
     */
    @Column("debit_subject_id")
    private String debitSubjectId;

    /**
     * 贷方科目
     */
    @Column("credit_subject_id")
    private String creditSubjectId;

    /**
     * 状态1: 空值  2：单价使用默认值  默认为1
     */
    @Column("status")
    private Integer status;

    /**
     * 是否生成出入库明细数据 1：未生成 2: 已生成 默认：1
     */
    @Column("is_inventory_details")
    private Integer isInventoryDetails;

    /**
     */
    @Column("create_time")
    private String createTime;

    /**
     */
    @Column("update_time")
    private String updateTime;

    private static final long serialVersionUID = 1L;
}